package zxzx.controller.AcctBsSgmtDao;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import zxzx.controller.pojo.AcctBsSgmt;


public interface AcctBsSgmtDao extends JpaRepository<AcctBsSgmt, Integer> ,JpaSpecificationExecutor<AcctBsSgmt>{

	@Query(value = "SELECT * FROM acc_db WHERE id=?1" , nativeQuery=true)
	AcctBsSgmt findOne(Integer id);

}
